import React from "react"
import LoginAndRegistHeader from "../../components/loginAndRegister/loginAndRegistHeader";
import LoginForm from "../../components/loginAndRegister/loginForm";
import { Link } from "react-router";

const Login:React.FC=()=>{
    return(
        <main>
            <LoginAndRegistHeader/>
            <div className="w-full h-44 py-16 text-center text-2xl">
                <span>账号登录</span>
            </div>
            <div className="text-center">
                <span>没有账号？
                    <Link to="/registed"><span>去注册</span></Link>
                </span>
            </div>
            <LoginForm/>
        </main>
    );
}

export default Login;